from django.conf.urls import url
from django.contrib.auth import logout
from django.contrib.auth.views import logout


from eval_pro.views import *
from eval_pro.api import *

urlpatterns = [
    url(u'^index', index, name='index'),
    url(u'^list', listing, name='listing'),
    url(u'^login', eval_login, name='login'),
    url(u'^register', register, name='register'),
    url(r'^logout/$', logout, {'next_page': '/eval/login'}, name='logout'),
    # url(u'^testapi', testapi, name='testapi'),
    # url(u'^web_auth', web_auth, name='web_auth'),
    # url(u'^logout', logout, name='logout'),

]